package com.gitee.wsl.func.operator

/**
 * Represents an operation upon two `long`-valued operands and producing a
 * `long`-valued result.   This is the primitive type specialization of
 * [BinaryOperator] for `long`.
 *
 *
 * This is a [functional interface](package-summary.html)
 * whose functional method is [.applyAsLong].
 *
 * @see BinaryOperator
 *
 * @see LongUnaryOperator
 *
 * @since 1.8
 */
fun interface LongBinaryOperator {
    /**
     * Applies this operator to the given operands.
     *
     * @param left the first operand
     * @param right the second operand
     * @return the operator result
     */
    fun applyAsLong(left: Long, right: Long): Long
}
